package de.kuttenmann.jflake;
public class Ray
{
	private final Vector3D origin;
	private final Vector3D direction;

	public Ray(Vector3D origin, Vector3D direction)
	{
		super();
		this.origin = origin;
		this.direction = direction;
	}

	public Vector3D getOrigin()
	{
		return origin;
	}

	public Vector3D getDirection()
	{
		return direction;
	}

	@Override
	public String toString()
	{
		return String.format("[origin=%s; direction=%s]", this.origin.toString(), this.direction.toString());
	}
}
